/*--------------------------------------------------------------
# General
--------------------------------------------------------------*/
body {
  font-family: "Open Sans", sans-serif;
  color: #444;
}

a {
  color: #428bca;
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: #9eccf4;
  cursor: pointer;
}

a.link-red {
  color: #e74c3c !important;
  cursor: pointer;
  transition: color 0.3s ease;
  text-decoration: none;
}

a.link-red:hover {
  color: #f1948a;
}

h1, h2, h3, h4, h5, h6, .font-primary {
  font-family: "Raleway", sans-serif;
  font-weight: 700;
}

/*--------------------------------------------------------------
# 顶栏样式（Top Bar）
--------------------------------------------------------------*/
#topbar {
  background: #fff;
  padding: 10px 0;
  border-bottom: 1px solid #eee;
  font-size: 14px;
}

#topbar .contact-info a {
  line-height: 1;
  color: #444;
  transition: 0.3s;
}

#topbar .contact-info a:hover {
  color: #428bca;
}

#topbar .contact-info i {
  color: #428bca;
  padding: 4px;
}

#topbar .social-links a {
  color: #5c768d;
  padding: 4px 12px;
  display: inline-block;
  line-height: 1px;
  transition: 0.3s;
}

#topbar .social-links a:hover {
  color: #428bca;
  text-decoration: none;
}
.tlinks{text-indent:-9999px;height:0;line-height:0;font-size:0;overflow:hidden;}
/*--------------------------------------------------------------
# 顶部导航栏样式（header+nav）
--------------------------------------------------------------*/
/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/
#header {
  height: 70px;
  transition: all 0.5s;
  transition: all 0.5s;
  padding: 10px 0;
  background: #fff;
  z-index: 997;
}

#header.header-scrolled {
  box-shadow: 0px 0px 20px 0px rgba(0, 0, 0, 0.1);
}

#header .logo h1 {
  font-size: 28px;
  margin: 0;
  padding: 10px 0;
  line-height: 1;
  font-weight: 400;
  letter-spacing: 3px;
  text-transform: uppercase;
}

#header .logo h1 a, #header .logo h1 a:hover {
  color: #1c5c93;
  text-decoration: none;
}

#header .logo img {
  padding: 0;
  margin: 0;
  max-height: 40px;
}
.nav-menu, .nav-menu * {
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-menu > ul > li {
  position: relative;
  white-space: nowrap;
  float: left;
}

.nav-menu a {
  display: block;
  position: relative;
  color: #5c768d;
  padding: 12px 15px;
  transition: 0.3s;
  font-size: 14px;
  font-family: "Open Sans", sans-serif;
}

.nav-menu a:hover, .nav-menu .active > a, .nav-menu li:hover > a {
  color: #428bca;
  text-decoration: none;
}

.nav-menu .drop-down ul {
  display: block;
  position: absolute;
  left: 0;
  top: 100%;
  z-index: 99;
  opacity: 0;
  visibility: hidden;
  padding: 10px 0;
  background: #fff;
  box-shadow: 0px 0px 30px rgba(127, 137, 161, 0.25);
  transition: ease all 0.3s;
}

  .nav-menu .drop-down:hover > ul {
    opacity: 1;
    top: 100%;
    visibility: visible;
  }

  .nav-menu .drop-down li {
    min-width: 180px;
    position: relative;
  }

  .nav-menu .drop-down ul a {
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 500;
    text-transform: none;
    color: #103453;
  }

  .nav-menu .drop-down ul a:hover, .nav-menu .drop-down ul .active > a, .nav-menu .drop-down ul li:hover > a {
    color: #428bca;
  }

  .nav-menu .drop-down > a:after {
    content: "\ea99";
    font-family: IcoFont;
    padding-left: 5px;
  }

  .nav-menu .drop-down .drop-down ul {
    top: 0;
    left: 100%;
  }

  .nav-menu .drop-down .drop-down:hover > ul {
    opacity: 1;
    top: 0;
  }

  .nav-menu .drop-down .drop-down > a {
    padding-right: 35px;
  }

  .nav-menu .drop-down .drop-down > a:after {
    content: "\eaa0";
    font-family: IcoFont;
    position: absolute;
    right: 15px;
  }

@media (max-width: 1366px) {
  .nav-menu .drop-down .drop-down ul {
    left: -90%;
  }
  .nav-menu .drop-down .drop-down:hover > ul {
    left: -100%;
  }
  .nav-menu .drop-down .drop-down > a:after {
    content: "\ea9d";
  }
}

/* Mobile Navigation */
.mobile-nav {
  position: fixed;
  top: 0;
  bottom: 0;
  z-index: 9999;
  overflow-y: auto;
  left: -260px;
  width: 260px;
  padding-top: 18px;
  background: #1f3548;
  transition: 0.4s;
}

.mobile-nav * {
  margin: 0;
  padding: 0;
  list-style: none;
}

.mobile-nav a {
  display: block;
  position: relative;
  color: #e3f0fc;
  padding: 10px 20px;
  font-weight: 500;
}

.mobile-nav a:hover, .mobile-nav .active > a, .mobile-nav li:hover > a {
  color: #9eccf4;
  text-decoration: none;
}

.mobile-nav .drop-down > a:after {
  content: "\ea99";
  font-family: IcoFont;
  padding-left: 10px;
  position: absolute;
  right: 15px;
}

.mobile-nav .active.drop-down > a:after {
  content: "\eaa0";
}

.mobile-nav .drop-down > a {
  padding-right: 35px;
}

.mobile-nav .drop-down ul {
  display: none;
  overflow: hidden;
}

.mobile-nav .drop-down li {
  padding-left: 20px;
}

.mobile-nav-toggle {
  position: fixed;
  right: 15px;
  top: 20px;
  z-index: 9998;
  border: 0;
  background: none;
  font-size: 24px;
  transition: all 0.4s;
  outline: none !important;
  line-height: 1;
  cursor: pointer;
  text-align: right;
}

.mobile-nav-toggle i {
  color: #5c768d;
}

.mobile-nav-overly {
  width: 100%;
  height: 100%;
  z-index: 9997;
  top: 0;
  left: 0;
  position: fixed;
  background: rgba(31, 53, 72, 0.7);
  overflow: hidden;
  display: none;
}

.mobile-nav-active {
  overflow: hidden;
}

.mobile-nav-active .mobile-nav {
  left: 0;
}

.mobile-nav-active .mobile-nav-toggle i {
  color: #fff;
}


/*--------------------------------------------------------------
# Hero Section 轮播图区域样式
--------------------------------------------------------------*/
#hero {
  width: 100%;
  height: calc(100vh - 114px);
  padding: 0;
  overflow: hidden;
}

#hero .carousel-item {
  width: 100%;
  height: calc(100vh - 114px);
  background-size: cover;
  background-position: top right;
  background-repeat: no-repeat;
  overflow: hidden;
}

#hero .carousel-item::before {
  content: '';
  background-color: rgba(13, 30, 45, 0.6);
  position: absolute;
  height: 100%;
  width: 100%;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
  overflow: hidden;
}

#hero .carousel-container {
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  bottom: 0;
  top: 0;
  left: 0;
  right: 0;
  overflow: hidden;
}

#hero .carousel-content {
  text-align: left;
}

@media (max-width: 992px) {
  #hero, #hero .carousel-item {
    height: calc(100vh - 70px);
  }
  #hero .carousel-content.container {
    padding: 0 50px;
  }
}

#hero h2 {
  color: #fff;
  margin-bottom: 30px;
  font-size: 48px;
  font-weight: 900;
}

#hero p {
  width: 80%;
  -webkit-animation-delay: 0.4s;
  animation-delay: 0.4s;
  color: #fff;
}

#hero .carousel-inner .carousel-item {
  transition-property: opacity;
  background-position: center top;
}

#hero .carousel-inner .carousel-item,
#hero .carousel-inner .active.carousel-item-left,
#hero .carousel-inner .active.carousel-item-right {
  opacity: 0;
}

#hero .carousel-inner .active,
#hero .carousel-inner .carousel-item-next.carousel-item-left,
#hero .carousel-inner .carousel-item-prev.carousel-item-right {
  opacity: 1;
  transition: 0.5s;
}

#hero .carousel-inner .carousel-item-next,
#hero .carousel-inner .carousel-item-prev,
#hero .carousel-inner .active.carousel-item-left,
#hero .carousel-inner .active.carousel-item-right {
  left: 0;
  transform: translate3d(0, 0, 0);
}

#hero .carousel-control-prev, #hero .carousel-control-next {
  width: 10%;
}

#hero .carousel-control-next-icon, #hero .carousel-control-prev-icon {
  background: none;
  font-size: 48px;
  line-height: 1;
  width: auto;
  height: auto;
}

#hero .carousel-indicators li {
  cursor: pointer;
}

#hero .btn-get-started {
  font-family: "Raleway", sans-serif;
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 1px;
  display: inline-block;
  padding: 12px 32px;
  border-radius: 5px;
  transition: 0.5s;
  line-height: 1;
  margin: 10px;
  color: #fff;
  -webkit-animation-delay: 0.8s;
  animation-delay: 0.8s;
  border: 0;
  background: #428bca;
  text-decoration: none;
}

#hero .btn-get-started:hover {
  background: #1c5c93;
}

@media (max-width: 768px) {
  #hero h2 {
    font-size: 28px;
  }
}

@media (min-width: 1024px) {
  #hero p {
    width: 60%;
  }
  #hero .carousel-control-prev, #hero .carousel-control-next {
    width: 5%;
  }
}

/*--------------------------------------------------------------
# Sections General
--------------------------------------------------------------*/
section {
  padding: 60px 0;
}

.section-bg {
  background-color: #f5f9fc;
}

.section-title {
  text-align: center;
  padding-bottom: 30px;
}

.section-title h2 {
  font-size: 32px;
  font-weight: 600;
  margin-bottom: 20px;
  padding-bottom: 0;
  color: #5c768d;
}

.section-title p {
  margin-bottom: 0;
}



/*--------------------------------------------------------------
# About Us
--------------------------------------------------------------*/
.about {
  padding-bottom: 30px;
}

.about .container {
  box-shadow: 0 5px 25px 0 rgba(214, 215, 216, 0.6);
}

.about .video-box img {
  padding: 15px 0;
}

.about .section-title p {
  text-align: left;
  font-style: italic;
  color: #666;
}

.about .about-content {
  padding: 40px;
}

.about .icon-box + .icon-box {
  margin-top: 40px;
}

.about .icon-box .icon {
  float: left;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  background: #f1f7fb;
  border-radius: 6px;
  transition: 0.5s;
}

.about .icon-box .icon i {
  color: #428bca;
  font-size: 32px;
}

.about .icon-box:hover .icon {
  background: #428bca;
}

.about .icon-box:hover .icon i {
  color: #fff;
}

.about .icon-box .title {
  margin-left: 95px;
  font-weight: 700;
  margin-bottom: 10px;
  font-size: 18px;
  text-transform: uppercase;
}

.about .icon-box .title a {
  color: #343a40;
  transition: 0.3s;
}

.about .icon-box .title a:hover {
  color: #428bca;
}

.about .icon-box .description {
  margin-left: 95px;
  line-height: 24px;
  font-size: 14px;
}

.about .video-box {
  position: relative;
}

.about .play-btn {
  width: 94px;
  height: 94px;
  background: radial-gradient(#428bca 50%, rgba(66, 139, 202, 0.4) 52%);
  border-radius: 50%;
  display: block;
  position: absolute;
  left: calc(50% - 47px);
  top: calc(50% - 47px);
  overflow: hidden;
}

.about .play-btn::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translateX(-40%) translateY(-50%);
  width: 0;
  height: 0;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-left: 15px solid #fff;
  z-index: 100;
  transition: all 400ms cubic-bezier(0.55, 0.055, 0.675, 0.19);
}

.about .play-btn::before {
  content: '';
  position: absolute;
  width: 120px;
  height: 120px;
  -webkit-animation-delay: 0s;
  animation-delay: 0s;
  -webkit-animation: pulsate-btn 2s;
  animation: pulsate-btn 2s;
  -webkit-animation-direction: forwards;
  animation-direction: forwards;
  -webkit-animation-iteration-count: infinite;
  animation-iteration-count: infinite;
  -webkit-animation-timing-function: steps;
  animation-timing-function: steps;
  opacity: 1;
  border-radius: 50%;
  border: 5px solid rgba(66, 139, 202, 0.7);
  top: -15%;
  left: -15%;
  background: rgba(198, 16, 0, 0);
}

.about .play-btn:hover::after {
  border-left: 15px solid #428bca;
  transform: scale(20);
}

.about .play-btn:hover::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translateX(-40%) translateY(-50%);
  width: 0;
  height: 0;
  border: none;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-left: 15px solid #fff;
  z-index: 200;
  -webkit-animation: none;
  animation: none;
  border-radius: 0;
}

@-webkit-keyframes pulsate-btn {
  0% {
    transform: scale(0.6, 0.6);
    opacity: 1;
  }
  100% {
    transform: scale(1, 1);
    opacity: 0;
  }
}

@keyframes pulsate-btn {
  0% {
    transform: scale(0.6, 0.6);
    opacity: 1;
  }
  100% {
    transform: scale(1, 1);
    opacity: 0;
  }
}

/*--------------------------------------------------------------
# About Lists
--------------------------------------------------------------*/
.about-lists {
  padding: 40px;
}

.about-lists .row {
  overflow: hidden;
}

.about-lists .content-item {
  padding: 40px;
  border-left: 1px solid #d9e8f4;
  border-bottom: 1px solid #d9e8f4;
  margin: -1px;
}

.about-lists .content-item span {
  display: block;
  font-size: 24px;
  font-weight: 400;
  color: #9eccf4;
}

.about-lists .content-item h4 {
  font-size: 28px;
  font-weight: 400;
  padding: 0;
  margin: 20px 0;
}

.about-lists .content-item p {
  color: #aaaaaa;
  font-size: 15px;
  margin: 0;
  padding: 0;
}

@media (max-width: 768px) {
  .about-lists .content-item {
    padding: 40px 0;
  }
}

/*--------------------------------------------------------------
# Login&Register Section 登录注册部分样式
--------------------------------------------------------------*/
.account .info-box {
  color: #444;
  text-align: center;
  box-shadow: 0 0 30px rgba(214, 215, 216, 0.6);
  padding: 20px 0 30px 0;
  margin-bottom: 30px;
  width: 100%;
}

.account .info-box i {
  font-size: 32px;
  color: #428bca;
  border-radius: 50%;
  padding: 8px;
  border: 2px dotted #9eccf4;
}

.account .info-box h3 {
  font-size: 20px;
  color: #666;
  font-weight: 700;
  margin: 10px 0;
}
.account .info-box-non-hover {
  color: #444;
  text-align: center;
  box-shadow: 0 0 30px rgba(214, 215, 216, 0.6);
  padding: 20px 0 30px 0;
  margin-bottom: 30px;
  width: 100%;
}

.account .info-box-non-hover i {
  font-size: 32px;
  color: #428bca;
  border-radius: 50%;
  padding: 8px;
  border: 2px dotted #9eccf4;
}

.account .info-box-non-hover h3 {
  font-size: 20px;
  color: #666;
  font-weight: 700;
  margin: 10px 0;
}

.account .info-box-chosen {
  background-color: #f0f8ff;
  text-align: center;
  box-shadow: 0 0 40px rgba(66, 139, 202, 0.4);
  padding: 20px 0 30px 0;
  margin-bottom: 30px;
  width: 100%;
  border: 2px solid #428bca;
  transform: scale(1.02);
  transition: all 0.3s ease;
}

.account .info-box-chosen i {
  font-size: 32px;
  color: #fff;
  background-color: #428bca;
  border-radius: 50%;
  padding: 8px;
  border: 2px solid #428bca;
}

.account .info-box-chosen h3 {
  font-size: 20px;
  color: #428bca;
  font-weight: 700;
  margin: 10px 0;
}

.account .info-box-chosen p {
  padding: 0;
  line-height: 24px;
  font-size: 14px;
  margin-bottom: 0;
  color: #333;
}

.account .info-box-link {
  text-decoration: none;
  color: inherit;
  width: 100%;
  display: block;
}

/* 鼠标悬停时改变背景色和添加缩放动画 */
.account .info-box:hover {
  background-color: #4a90e2; /* 深蓝色或你喜欢的悬停颜色 */
  color: #fff;
  transform: translateY(-5px);
}

/* 鼠标悬停时图标和文本颜色也变化 */
.account .info-box:hover i,
.account .info-box:hover h3,
.account .info-box:hover p {
  color: #fff;
}

/*原.php-email-form*/

.account .info-form .validate {
  display: none;
  color: red;
  margin: 0 0 15px 0;
  font-weight: 400;
  font-size: 13px;
}

.account .info-form .error-message {
  display: none;
  color: #fff;
  background: #ed3c0d;
  text-align: center;
  padding: 15px;
  font-weight: 600;
}

.account .info-form .sent-message {
  display: none;
  color: #fff;
  background: #18d26e;
  text-align: center;
  padding: 15px;
  font-weight: 600;
}

.account .info-form .loading {
  display: none;
  background: #fff;
  text-align: center;
  padding: 15px;
}

.account .info-form .loading:before {
  content: "";
  display: inline-block;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  margin: 0 10px -6px 0;
  border: 3px solid #18d26e;
  border-top-color: #eee;
  -webkit-animation: animate-loading 1s linear infinite;
  animation: animate-loading 1s linear infinite;
}

.account .info-form input, .account .info-form textarea {
  border-radius: 0;
  box-shadow: none;
  font-size: 14px;
}

.account .info-form input::focus, .account .info-form textarea::focus {
  background-color: #428bca;
}

.account .info-form input {
  padding: 20px 15px;
}

.account .info-form textarea {
  padding: 12px 15px;
}

.account .info-form button[type="submit"] {
  background: #428bca;
  border: 0;
  padding: 10px 24px;
  color: #fff;
  transition: 0.4s;
}

.account .info-form button[type="submit"]:hover {
  background: #6aa3d5;
}

@keyframes animate-loading {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}







/*--------------------------------------------------------------
# Our Team
--------------------------------------------------------------*/
.team {
  background: #fff;
  padding: 60px 0 30px 0;
}

.team .member {
  text-align: center;
  margin-bottom: 80px;
  position: relative;
}

.team .member .pic {
  border-radius: 4px;
  overflow: hidden;
}

.team .member img {
  transition: all ease-in-out 0.4s;
}

.team .member:hover img {
  transform: scale(1.1);
}

.team .member .member-info {
  position: absolute;
  bottom: -48px;
  left: 20px;
  right: 20px;
  background: linear-gradient(360deg, #5c768d 0%, rgba(92, 118, 141, 0.9) 35%, rgba(140, 167, 191, 0.8) 100%);
  padding: 15px 0;
  border-radius: 4px;
}

.team .member h4 {
  font-weight: 700;
  margin-bottom: 10px;
  font-size: 16px;
  color: #fff;
  position: relative;
  padding-bottom: 10px;
}

.team .member h4::after {
  content: '';
  position: absolute;
  display: block;
  width: 50px;
  height: 1px;
  background: #fff;
  bottom: 0;
  left: calc(50% - 25px);
}

.team .member span {
  font-style: italic;
  display: block;
  font-size: 13px;
  color: #fff;
}

.team .member .social {
  margin-top: 15px;
}

.team .member .social a {
  transition: color 0.3s;
  color: #fff;
}

.team .member .social a:hover {
  color: #9eccf4;
}

.team .member .social i {
  font-size: 16px;
  margin: 0 2px;
}
/* ========= 社交图标悬停显示二维码或邮箱 ========= */

.team .member .social .icon-with-popup {
  position: relative;
  display: inline-block;
  margin: 0 6px;
  cursor: pointer;
}

.team .member .social .icon-with-popup .popup {
  display: none;
  position: absolute;
  bottom: 120%; /* 弹出在上方 */
  left: 50%;
  transform: translateX(-50%);
  background: #ffffff;
  padding: 8px;
  border: 1px solid #ccc;
  border-radius: 8px;
  white-space: nowrap;
  z-index: 10;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
  min-width: 120px;
  text-align: center;
}

.team .member .social .icon-with-popup:hover .popup {
  display: block;
}

.team .member .social .icon-with-popup .popup img {
  width: 100px;
  height: 100px;
  object-fit: cover;
  border-radius: 4px;
}

/* 可选：弹出层的小箭头 */
.team .member .social .icon-with-popup .popup::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border-width: 6px;
  border-style: solid;
  border-color: #ccc transparent transparent transparent;
}

/* 弹出的邮箱样式（如果没有图片时） */
.team .member .social .icon-with-popup .popup:not(:has(img)) {
  font-size: 13px;
  color: #333;
  font-family: "Open Sans", sans-serif;
}

@media (max-width: 992px) {
  .team .member {
    margin-bottom: 100px;
  }
}


/*--------------------------------------------------------------
# Counts 计数部分样式
--------------------------------------------------------------*/
.counts {
  padding-bottom: 30px;
}

.counts .count-box {
  box-shadow: 0px 0 16px rgba(0, 0, 0, 0.1);
  padding: 30px;
  background: #fff;
  margin-bottom: 30px;
}

.counts .count-box i {
  display: block;
  font-size: 64px;
  margin-bottom: 15px;
}

.counts .count-box span {
  font-size: 42px;
  display: block;
  font-weight: 700;
  color: #1c5c93;
}

.counts .count-box p {
  padding: 0;
  margin: 0;
  font-family: "Raleway", sans-serif;
  font-size: 14px;
}



/*--------------------------------------------------------------
# Preference 偏好选择样式
--------------------------------------------------------------*/

.bubble-container {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.bubble {
  background-color: #e3f2fd;
  color: #428bca;
  padding: 10px 20px;
  border-radius: 0;
  cursor: pointer;
  transition: transform 0.3s, background-color 0.3s;
  user-select: none;
  font-weight: 500;
  box-shadow: 0 3px 6px rgba(0, 123, 255, 0.2);
  border: 1px solid #cce7ff;
}

.bubble:hover {
  background-color: #d0eaff;
  transform: scale(1.05);
}

.bubble.selected {
  background-color: #f0f8ff;          /* 浅蓝色背景 */
  color: #428bca;                    /* 保持深蓝色文字 */
  text-align: center;
  box-shadow: 0 0 40px rgba(66, 139, 202, 0.4); /* 蓝色调阴影 */
  padding: 10px 20px;                /* 保持原有padding不变 */
  border: 2px solid #428bca;         /* 2px蓝色边框 */
  border-radius: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.selection-dropzone {
  min-height: 50px;
  border-top: 2px dashed #3399ff;
  padding-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.bubble-button {
  background-color: #428bca;
  color: white;
  padding: 12px 28px;
  border: none;
  border-radius: 0;
  font-weight: bold;
  font-size: 16px;
  box-shadow: 0 6px 12px rgba(0, 123, 255, 0.2);
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  margin: 0 10px;
}

.bubble-button:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 16px rgba(0, 123, 255, 0.35);
}

.bubble-button:active {
  transform: scale(0.97);
  box-shadow: 0 4px 8px rgba(0, 123, 255, 0.2);
}



#footer {
  background: #587187;
  padding: 0 0 30px 0;
  color: #fff;
  font-size: 14px;
}

#footer .footer-top {
  background: #5c768d;
  border-top: 1px solid #768fa6;
  border-bottom: 1px solid #67839c;
  padding: 60px 0 30px 0;
}

#footer .footer-top .footer-info {
  margin-bottom: 30px;
}

#footer .footer-top .footer-info h3 {
  font-size: 24px;
  margin: 0 0 20px 0;
  padding: 2px 0 2px 0;
  line-height: 1;
  font-weight: 700;
}

#footer .footer-top .footer-info p {
  font-size: 14px;
  line-height: 24px;
  margin-bottom: 0;
  font-family: "Raleway", sans-serif;
  color: #fff;
}

#footer .footer-top .social-links a {
  font-size: 18px;
  display: inline-block;
  background: #768fa6;
  color: #fff;
  line-height: 1;
  padding: 8px 0;
  margin-right: 4px;
  border-radius: 50%;
  text-align: center;
  width: 36px;
  height: 36px;
  transition: 0.3s;
}

#footer .footer-top .social-links a:hover {
  background: #428bca;
  color: #fff;
  text-decoration: none;
}

#footer .footer-top h4 {
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  position: relative;
  padding-bottom: 12px;
}

#footer .footer-top .footer-links {
  margin-bottom: 30px;
}

#footer .footer-top .footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

#footer .footer-top .footer-links ul i {
  padding-right: 2px;
  color: #9eccf4;
  font-size: 18px;
  line-height: 1;
}

#footer .footer-top .footer-links ul li {
  padding: 10px 0;
  display: flex;
  align-items: center;
}

#footer .footer-top .footer-links ul li:first-child {
  padding-top: 0;
}

#footer .footer-top .footer-links ul a {
  color: #fff;
  transition: 0.3s;
  display: inline-block;
  line-height: 1;
}

#footer .footer-top .footer-links ul a:hover {
  color: #9eccf4;
}

#footer .footer-top .footer-newsletter form {
  margin-top: 30px;
  background: #fff;
  padding: 6px 10px;
  position: relative;
  border-radius: 4;
}

#footer .footer-top .footer-newsletter form input[type="email"] {
  border: 0;
  padding: 4px;
  width: calc(100% - 110px);
}

#footer .footer-top .footer-newsletter form input[type="submit"] {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  border: 0;
  background: none;
  font-size: 16px;
  padding: 0 20px;
  background: #428bca;
  color: #fff;
  transition: 0.3s;
  border-radius: 4;
}

#footer .footer-top .footer-newsletter form input[type="submit"]:hover {
  background: #5295ce;
}

#footer .copyright {
  text-align: center;
  padding-top: 30px;
}

#footer .credits {
  padding-top: 10px;
  text-align: center;
  font-size: 13px;
  color: #fff;
}

#footer .credits a {
  color: #9eccf4;
}


/*--------------------------------------------------------------
# sdp&srs 关于子模块样式
--------------------------------------------------------------*/


/*--------------------------------------------------------------
# sdp：原Services
--------------------------------------------------------------*/
.sdp {
  padding-bottom: 30px;
}

.sdp .icon-box {
  margin-bottom: 20px;
  text-align: center;
}

.sdp .icon {
  display: flex;
  justify-content: center;
}

.sdp .icon i {
  width: 80px;
  height: 80px;
  margin-bottom: 20px;
  background: #fff;
  border-radius: 50%;
  transition: 0.5s;
  color: #428bca;
  font-size: 40px;
  overflow: hidden;
  padding-top: 20px;
  box-shadow: 0px 0 25px rgba(0, 0, 0, 0.15);
}

.sdp .icon-box:hover .icon i {
  box-shadow: 0px 0 30px rgba(66, 139, 202, 0.5);
}

.sdp .title {
  font-weight: 600;
  margin-bottom: 15px;
  font-size: 18px;
  position: relative;
  padding-bottom: 15px;
}

.sdp .title a {
  color: #444;
  transition: 0.3s;
}

.sdp .title a:hover {
  color: #428bca;
}

.sdp .title::after {
  content: '';
  position: absolute;
  display: block;
  width: 50px;
  height: 2px;
  background: #428bca;
  bottom: 0;
  left: calc(50% - 25px);
}

.sdp .description {
  line-height: 24px;
  font-size: 14px;
}

/*--------------------------------------------------------------
# srs 原Portfolio
--------------------------------------------------------------*/
.srs .srs-item {
  margin-bottom: 30px;
}

.srs #srs-flters {
  padding: 0;
  margin: 0 0 35px 0;
  list-style: none;
  text-align: center;
}

.srs #srs-flters li {
  cursor: pointer;
  margin: 0 15px 15px 0;
  display: inline-block;
  padding: 10px 20px;
  font-size: 12px;
  line-height: 20px;
  color: #444;
  border-radius: 4px;
  text-transform: uppercase;
  background: #fff;
  margin-bottom: 5px;
  transition: all 0.3s ease-in-out;
}

.srs #srs-flters li:hover, .srs #srs-flters li.filter-active {
  background: #428bca;
  color: #fff;
}

.srs #srs-flters li:last-child {
  margin-right: 0;
}

.srs .srs-wrap {
  box-shadow: 0px 2px 12px rgba(0, 0, 0, 0.08);
  transition: 0.3s;
  position: relative;
  overflow: hidden;
}

.srs .srs-wrap img {
  transition: 0.3s;
}

.srs .srs-wrap .srs-info {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  opacity: 0;
  position: absolute;
  bottom: 0;
  top: 0;
  left: 0;
  right: 0;
  transition: 0.3s;
  text-align: center;
  background: rgba(31, 53, 72, 0.6);
  padding-bottom: 30px;
  text-decoration: none;
}

.srs .srs-wrap .srs-info h4 {
  font-size: 20px;
  color: #fff;
  font-weight: 600;
}

.srs .srs-wrap .srs-info p {
  color: #fff;
  font-size: 14px;
  text-transform: uppercase;
}

.srs .srs-wrap .srs-info a {
  color: #428bca;
  margin: 0 4px;
  font-size: 18px;
  line-height: 1;
  background-color: #fff;
  padding-top: 7px;
  border-radius: 50px;
  text-align: center;
  width: 36px;
  height: 35px;
  display: inline-block;
  transition: 0.3s;
  text-decoration: none;
}

.srs .srs-wrap .srs-info a:hover {
  background: #428bca;
  color: #fff;
}

.srs .srs-wrap:hover {
  box-shadow: 0px 4px 14px rgba(0, 0, 0, 0.16);
}

.srs .srs-wrap:hover .srs-info {
  opacity: 1;
  padding-bottom: 0;
}

.srs .srs-wrap:hover img {
  transform: scale(1.1);
}



/* 图标弹出层统一样式 */
.icon-with-popup {
  position: relative;
  display: inline-block;
  margin: 0 6px;
  cursor: pointer;
}
.icon-with-popup i {
  color: #fff;
  transition: color 0.3s;
  font-size: 16px;
  margin: 0 2px;
}

.icon-with-popup:hover i {
  color: #9eccf4;
}
.icon-with-popup .popup {
  display: none;
  position: absolute;
  bottom: 120%; /* 弹出在上方 */
  left: 50%;
  transform: translateX(-50%);
  background: #ffffff;
  padding: 8px;
  border: 1px solid #ccc;
  border-radius: 8px;
  white-space: nowrap;
  z-index: 10;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
  min-width: 120px;
  text-align: center;
}

.icon-with-popup:hover .popup {
  display: block;
}

.icon-with-popup .popup img {
  width: 100px;
  height: 100px;
  object-fit: cover;
  border-radius: 4px;
}

/* 可选的箭头小三角 */
.icon-with-popup .popup::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border-width: 6px;
  border-style: solid;
  border-color: #ccc transparent transparent transparent;
}


/*--------------------------------------------------------------
# SRS样式
--------------------------------------------------------------*/
.game-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    max-width: 1500px;         /* 设置容器最大宽度 */
    margin: 0 auto;            /* 居中对齐 */
    padding: 0 40px;           /* 控制左右距离屏幕的间距 */
}

.game-column {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.game-card {
    background-color: #428BCAB2;
    text-align: center;
    box-shadow: 0 0 40px rgba(66, 139, 202, 0.4);
    padding: 20px 0 30px 0;
    margin-bottom: 30px;
    width: 300px;
    border: 3px solid #428bca;
    transform: scale(1.02);
    transition: all 0.3s ease;
    position: relative;  /* 确保弹出窗口是相对于卡片定位的 */
}

.game-card:hover {
    transform: translateY(-5px); /* 仅悬浮卡片向上移动 */
    z-index: 2; /* 确保悬浮卡片在其他卡片上方 */
}

.game-card-link {
  text-decoration: none;
  color: inherit;
  display: inline-block;
}
/* 游戏海报样式 */
.game-poster {
    width: 100%;
    aspect-ratio: 380 / 180;
    object-fit: cover;
    border-radius: 5px;
}

/* 弹出详细信息框 */
.game-details {
    position: absolute;   /* 绝对定位，放置在卡片的顶部 */
    top: 100%;            /* 从卡片的下边缘开始弹出 */
    left: 0;
    right: 0;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.4s ease, opacity 0.4s ease;
    background-color: #428bca;  /* 设置浅蓝色背景 */
    padding: 10px;
    color: #333; /* 字体颜色 */
    z-index: 1;  /* 确保弹出框位于卡片上方 */
}

/* 悬浮时显示详情 */
.game-card:hover .game-details {
    max-height: 500px;  /* 够大就行 */
    opacity: 1;
}

/* 卡片标题 */
.game-title {
    font-size: 18px;
    font-weight: bold;
    margin: 10px 0;
    color: rgb(255, 255, 255);
}

/* 游戏信息 */
.game-info {
    font-size: 14px;
    color: #444;
    margin-bottom: 5px;
}

/* 标签样式 */
.game-tag {
    display: inline-block;
    background-color: orange;
    color: white;
    padding: 3px 8px;
    border-radius: 5px;
    margin: 2px;
    font-size: 12px;
}

.game-tag-1 {
    display: inline-block;
    background-color: #c45454;
    color: white;
    padding: 3px 8px;
    border-radius: 5px;
    margin: 2px;
    font-size: 12px;
}

.game-tag-2 {
    display: inline-block;
    background-color: #279a33;
    color: white;
    padding: 3px 8px;
    border-radius: 5px;
    margin: 2px;
    font-size: 12px;
}

/* 分页样式 */
.pagination {
    width: 100%;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 30px;
}

.page-btn {
    display: inline-block;
    padding: 8px 12px;
    border: 1px solid #428bca;
    border-radius: 5px;
    color: #428bca;
    background-color: white;
    text-decoration: none;
    transition: 0.2s ease-in-out;
}

.page-btn:hover {
    background-color: #428bca;
    text-decoration: none;
    color: white;
}

.page-btn.active {
    background-color: #428bca;
    color: white;
    font-weight: bold;
    cursor: default;
}
/* 刷新按钮 */
.refresh-btn-wrapper {
  display: flex;
  justify-content: center; /* 水平居中 */
  margin: 40px 0;           /* 上下留白 */
}


#refresh-btn {
  background-color: #428bca;
  color: white;
  padding: 12px 28px;
  border: none;
  border-radius: 0;
  font-weight: bold;
  font-size: 16px;
  box-shadow: 0 6px 12px rgba(0, 123, 255, 0.2);
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  margin: 0 10px;
}

#refresh-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 16px rgba(0, 123, 255, 0.35);
}

#refresh-btn:active {
  transform: scale(0.97);
  box-shadow: 0 4px 8px rgba(0, 123, 255, 0.2);
}

#show-all-btn {
  background-color: #01ec11;
  color: white;
  padding: 12px 28px;
  border: none;
  border-radius: 0;
  font-weight: bold;
  font-size: 16px;
  box-shadow: 0 6px 12px rgba(0, 123, 255, 0.2);
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  margin: 0 10px;
}

#show-all-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 16px rgba(60, 255, 0, 0.96);
}

#show-all-btn:active {
  transform: scale(0.97);
  box-shadow: 0 4px 8px rgb(3, 100, 27);
}
/*--------------------------------------------------------------
# word cloud
--------------------------------------------------------------*/
.wc_container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.input-area {
    background-color: white;
    padding: 20px;
    border-radius: 0px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}

.input-area h1 {
    margin-top: 0;
    color: #1a1a1a;
}

.input-group {
    display: flex;
    gap: 10px;
}

.input-group input {
    flex: 1;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 0px;
    font-size: 16px;
}

.input-group button {
    padding: 10px 20px;
    background-color: #1a73e8;
    color: white;
    border: none;
    border-radius: 0px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s;
}

.input-group button:hover {
    background-color: #0d62c9;
}

.result-area {
    display: flex;
    gap: 20px;
}

.wordcloud-container {
    flex: 1;
    background-color: white;
    padding: 20px;
    border-radius: 0px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.wordcloud-container h2 {
    margin-top: 0;
    color: #1a1a1a;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
}

.wordcloud {
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.wordcloud img {
    max-width: 100%;
    max-height: 100%;
}

.wordcloud p {
    text-align: center;
    color: #666;
}

.chart-container {
    width: 1200px;
    height: 600px;
    margin: 0 auto; /* 水平居中 */
}